package meterMonitor.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by admin on 2018/12/31.
 */
@RestController
public class IndexController {
    @RequestMapping("index.do")
    // @FireAuthority(authorityTypes = AuthorityType.pmqx_price_allocation, resultType = ResultTypeEnum.page)
    private ModelAndView index(ModelAndView mv){
        //mv.setViewName("internal/priceAllocation/priceAllocationList");
        return mv;
    }

    @RequestMapping("index_1.do")
    // @FireAuthority(authorityTypes = AuthorityType.pmqx_price_allocation, resultType = ResultTypeEnum.page)
    private ModelAndView index_1(ModelAndView mv){
        //mv.setViewName("internal/priceAllocation/priceAllocationList");
        return mv;
    }

}
